﻿using System.Threading.Tasks;
using System.CommandLine;
namespace DemoCommandLine
{
    internal class Program
    {
        static async Task Main(string[] args)
        {
            RootCommand rootCmd = new RootCommand();
            new Math(rootCmd);
            new Time(rootCmd);
            new Cat(rootCmd);
            new Ls(rootCmd);
            new Grep(rootCmd);
            await rootCmd.InvokeAsync(args);
        }
    }

    enum FileOrDir
    {
        File,
        Dir,
        All
    }
}
